package com.ruoyi.exchangeCode.service;

import java.util.List;
import com.ruoyi.exchangeCode.domain.ExchangeCode;

/**
 * 兑换码Service接口
 * 
 * @author zunzun
 * @date 2023-11-22
 */
public interface IExchangeCodeService 
{
    /**
     * 查询兑换码
     * 
     * @param id 兑换码主键
     * @return 兑换码
     */
    public ExchangeCode selectExchangeCodeById(Long id);

    /**
     * 查询兑换码列表
     * 
     * @param exchangeCode 兑换码
     * @return 兑换码集合
     */
    public List<ExchangeCode> selectExchangeCodeList(ExchangeCode exchangeCode);

    /**
     * 新增兑换码
     * 
     * @param exchangeCode 兑换码
     * @return 结果
     */
    public int insertExchangeCode(ExchangeCode exchangeCode);

    /**
     * 修改兑换码
     * 
     * @param exchangeCode 兑换码
     * @return 结果
     */
    public int updateExchangeCode(ExchangeCode exchangeCode);

    /**
     * 批量删除兑换码
     * 
     * @param ids 需要删除的兑换码主键集合
     * @return 结果
     */
    public int deleteExchangeCodeByIds(Long[] ids);

    /**
     * 删除兑换码信息
     * 
     * @param id 兑换码主键
     * @return 结果
     */
    public int deleteExchangeCodeById(Long id);


    /**
     * 批量生成

     */
    public int insertExchangeCodeList(ExchangeCode exchangeCode);
}
